Home } Calculators } Date Difference



Enter two dates (including the time!) and this script will display the number of weeks, days, hours, minutes, and seconds between the two. The seconds field is optional, too. For an example, try entering your birthdate and compare it to today's date.
First Date:   Date:   (MM/DD/YYYY format)
              Time:   (HH:MM:SS format)

Second Date:  Date:   (MM/DD/YYYY format)
              Time:   (HH:MM:SS format)

Date Difference:

JavaScript Source Code 2002: Calculators: Date Difference

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!